package art.client.services;

import java.util.List;

import art.shared.entities.LoginInfo;
import art.shared.entities.UserShared;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("user")
public interface UserService extends RemoteService {

	public LoginInfo login(String email);

	public boolean logout();

	public boolean updateUser(UserShared user);

	public List<UserShared> getUsers();

	public LoginInfo getLoginInfo();

	public boolean deleteUser(UserShared user);

}
